import Vue from 'vue'
import router from './router/index'
import store from './store/index'
import App from './App.vue'
import 'element-ui/lib/theme-chalk/index.css';
import ElementUI from 'element-ui';
require('./assets/style/less/index.less') // global css
//require('./util/resize')
import axios from 'axios';
import moment from 'moment';
import * as echarts from 'echarts'
import setting from './setting'




moment.locale('zh-cn')
Vue.prototype.setting = setting;
Vue.prototype.moment = moment;
Vue.prototype.axios = axios;
Vue.prototype.$echarts = echarts
Vue.use(ElementUI);

Vue.config.productionTip = false;

new Vue({
    render: h => h(App),
    router,
    store
}).$mount('#app')